use rjvm_vm::class::vm_class_method_descriptor_parser::VMClassMethodDescriptorParser;

#[test]
fn parse() {
    let mut parser = VMClassMethodDescriptorParser::new();
    {
        let mut desc = String::from("(DZ)Ljdk/internal/math/FloatingDecimal$BinaryToASCIIConverter;");
        let result = parser.parse(&desc);
        println!("{:#?}", result);
    }
    {
        let mut desc = String::from("(IF[DLjava/lang/String;[Ljava/lang/String;)Ljava/lang/String;");
        let result = parser.parse(&desc);
        println!("{:#?}", result);
    }
}